import Game from "./game.js";

// 需要在页面中引入的js
let c = document.querySelector('.container');
let game = new Game({parent:c});
game.start();
game.onEnd = function(){
    document.querySelector('.msg').style.display = 'block';   
}
document.querySelector('.msg .restart').onclick = function(){
    location.reload();
}